<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="utf-8"/>
    <title></title>
    <link rel="stylesheet" type="text/css" th:href="@{templates/base/css/index.css}"/>
    <link rel="stylesheet" th:href="@{templates/base/css/iview.css}"/>
    <link rel="stylesheet" th:href="@{templates/base/iconfont/iconfont.css}"/>
    <link th:href="@{templates/login/css/regist.css}" rel="stylesheet" id="style">
    <!-- fakeLoader -->
    <link rel="stylesheet" type="text/css" th:href="@{templates/base/css/fakeLoader.css}">
    <script th:src="@{templates/login/js/jquery-1.8.0.min.js}"></script>
    <script th:inline="javascript">
        if (!isNull($.browser) && !isNull($.browser.msie) && $.browser.msie && ($.browser.version == '6.0' || $.browser.version == '7.0' || $.browser.version == '8.0'))
            $("#style").attr("href", "css/ie.css")

        function isNull(obj) {
            return ((typeof(obj) == 'undefined') || (obj == null) || (obj.length == 0));
        }

        var codeEnable = [[${codeEnable}]];
    </script>
</head>

<body>
<div class="regist">
    <div class="regist_box" style="display: none;">
        <p>欢迎使用</p>
        <div id="login">
            <el-form :model="ruleForm" :rules="rules" ref="ruleForm" class="demo-ruleForm">
                <el-form-item prop="userAccount">
                    <i class="iconfont">&#xe61a;</i>
                    <el-input autofocus placeholder="请输入账号" v-model="ruleForm.username" @keyup.enter.native="submitForm('ruleForm')"></el-input>
                </el-form-item>
                <el-form-item prop="userPasswod">
                    <i class="iconfont">&#xe60b;</i>
                    <el-input placeholder="请输入密码" type="password" v-model="ruleForm.password" @keyup.enter.native="submitForm('ruleForm')"></el-input>
                </el-form-item>
                <el-form-item prop="code">
                    <el-input autofocus placeholder="验证码" v-model="ruleForm.code" @keyup.enter.native="submitForm('ruleForm')" style="width: 120px"></el-input>
                    <img th:src="@{code.jpg}" th:onclick="'this.src=\''+@{code.jpg}+'?time=\'+new Date().getTime()'"/>
                </el-form-item>
                <!--<el-form-item>
                    <el-checkbox v-model="remember">记住账号</el-checkbox>
                </el-form-item>-->
                <div class="error"></div>
                <el-form-item>
                    <el-button type="primary" @click="submitForm('ruleForm')">登录</el-button>
                </el-form-item>
            </el-form>
        </div>
    </div>
</div>
<div class="fakeloader"></div>
<div class="regist_up">
    <div><img th:src="@{templates/login/img/ie.jpg}"></div>
    <div>
        <div>
            <p>浏览器版本太低了</p>
            <p>无法飞到网页所在位置</p>
        </div>
        <div>
            请选择下方浏览器升级
        </div>
        <div>
            <ul>
                <li>
                    <a th:href="@{templates/login/software/Firefox.exe}"><img th:src="@{templates/login/img/huohu.jpg}"><span>火狐浏览器</span></a>
                </li>
                <li>
                    <a th:href="@{templates/login/software/chrome.exe}"><img th:src="@{templates/login/img/chrmoe.png}"><span>Chrome</span></a>
                </li>
                <li>
                    <a th:href="@{templates/login/software/ie.exe}"><img th:src="@{templates/login/img/ie.png}"><span>IE浏览器</span></a>
                </li>
                <li>
                    <a th:href="@{templates/login/software/Safari.exe}"><img th:src="@{templates/login/img/safair.png }"><span>Safari</span></a>
                </li>
            </ul>
        </div>
    </div>
</div>
<script type="text/javascript" th:src="@{templates/base/js/vue.js}"></script>
<script type="text/javascript" th:src="@{templates/base/js/index.js}"></script>
<script type="text/javascript" th:src="@{templates/login/js/regist.js}"></script>
<script type="text/javascript" th:src="@{templates/base/js/common.js}"></script>
<!-- <script type="text/javascript" th:src="@{templates/base/js/VanyAajx.js}"></script>
<script>
    VanyAjax.baseUrl = baseUrl = "";
</script> -->
</body>

</html>